package todo.client;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;

public class AddClickHandler implements ClickHandler {
	
	TodoGWeb app = null;

	public AddClickHandler(TodoGWeb app) {
		this.app = app;
	}

	@Override
	public void onClick(ClickEvent event) {
		app.createTestData();
		app.renderTodoTable();

	}

}
